<template>
  <div>
    <h3>自定义子组件MyCom4</h3>
    <p>收到父组件的数据是：abc： {{ abc }} --- d：{{ d }} </p>
    <button @click="$emit('update:abc', abc + 10)">abc + 10</button> <br><br>
    <button @click="$emit('update:d', d + 1)">d + 10</button>
  </div>
</template>

<script>
export default {
  props: ['abc', 'd']

}
</script>

<style>

</style>
